I cannot guarantee the accuracy of the information and nor being held accountable to any issue if somehow this guide ends up on the internet.
Discover gists
version: '3' | |
services: | |
n8n: | |
image: docker.n8n.io/n8nio/n8n | |
ports: | |
- 5678:5678 | |
environment: | |
- GENERIC_TIMEZONE=America/Chicago | |
- TZ=America/Chicago |
- Hard disk prices - https://diskprices.com/?locale=in
- Price History - https://pricehistoryapp.com/
- Video player knowledgebase - https://www.videohelp.com/
- PC Price Tracker - https://pcpricetracker.in/
import { ConfigPlugin, withDangerousMod } from '@expo/config-plugins' | |
import { | |
MergeResults, | |
mergeContents, | |
removeContents, | |
} from '@expo/config-plugins/build/utils/generateCode' | |
import path from 'path' | |
import fs from 'fs-extra' | |
const debug = require('debug')('file-viewer-plugin') as typeof console.log |
import socket | |
# Add a custom listener to read out stdout | |
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
while True: | |
rfd, wfd, efd = select.select(rpipes, [], rpipes, 1) | |
if cmd.stdout in rfd: | |
dat = os.read(cmd.stdout.fileno(), 9000) | |
stdout += dat | |
sock.sendto(dat, ("127.0.0.1", 9876)) # append to listener |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.
/* | |
app_delegate.c | |
1. Compile and link with: | |
$ clang -g -o AppInC app_delegate.c -lobjc -framework Foundation -framework AppKit -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk | |
2. Create a Info.plist with: | |
[[ | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.
On March 29th, 2024, a backdoor was discovered in xz-utils, a suite of software that